import Vue from 'vue'
import Router from 'vue-router'
// import Ebook from '@/Ebook'

Vue.use(Router)
const routes = [{
    path: '/',
    name: "Index",
    component: () => import("@/index1.vue")
  },
  {
    path: '/ebook:id',
    name: 'ebook',
    component: () => import("@/Ebook.vue")
  },
  {
    path: '/epdf:id',
    name: 'epdf',
    component: () => import("@/EPdf.vue")
  }
]
const route = new Router({
  base:'/boos2/',
  mode: 'history',
  routes
})
export default route
